import axios from './index.js'
//获取感染者信息分页数据
const contactsInfoList = params => {
    return axios.get('/contactsInfo/list',params)
}
const addContactsInfo = params => {
    return axios.post('/contactsInfo/addContactsInfo',params)
}
const contactsInfoDetail = id => {
    return axios.get(`/contactsInfo/detail/${id}`)
};
const deleteContactInfo = id => {
    return axios.get(`/contactsInfo/delete/${id}`)
};
const updateContact = params => {
    return axios.post('/contactsInfo/update',params)
}
export default {
    contactsInfoList,
    addContactsInfo,
    contactsInfoDetail,
    deleteContactInfo,
    updateContact
}
